Skip to main content

Create

This endpoint allows integrators register their users into MeetingDoctors' platform in order to authenticate them to the SDKs.

Request

POST https://customer.staging.meetingdoctors.com/api/v3/pendingCompanyUsers

Headers

NameValue
apiKeyIntegration identifier provided by MeetingDoctors
secretKeySecurity key provided by MeetingDoctors to securize server-to-server communications
Content-Typeapplication/json
Acceptapplication/json

Request body

Parameters

NameRequiredTypeValue
tokenTrueStringYour user unique identifier
statusTrueNumeric0: Free, 2: Premium, 3: No Access
emailFalseStringA valid email
nid_numberFalseStringA valid DNI or NIE
firstnameFalseStringUser's first name
lastnameFalseStringUser's last name
genderFalseNumeric0: Male, 1: Female
birthdateFalseDateISO8601 Date (YYYY-MM-DD)
mobile_phoneFalseStringMobile phone number without prefix (max 20 chars)
descriptionFalseStringExtra user information provided by integrator
has_video_callFalseNumeric0: Disabled, 1: Enabled
has_video_call_1to1FalseNumeric0: Disabled, 1: Enabled
company_group_codeFalseStringCode key that will be provided by MeetingDoctors
coverage_nameFalseStringUser's specific coverage plan
contract_numberFalseStringUser's unique identifier of the policy

Example

{
"token": "12345678Z",
"status": 2,
"email": "soporte@meetingdoctors.com",
"nid_number": "12345678Z",
"firstname": "Soporte",
"lastname": "MeetingDoctors",
"gender": 0,
"birthdate": "1990-01-01",
"mobile_phone": "666223344",
"description": "This is a description",
"has_video_call": 1,
"has_video_call_1to1": 1,
"company_group_code": "group_code",
"coverage_name": "coverage name",
"contract_number": "0987654321"
}